$(function () {
        $('#bill_table').bootstrapTable({
            method: "get",
            striped: true,
            singleSelect: false,
            url: "",
            dataType: "json",
            pagination: true, //分页
            pageSize: 10,
            pageNumber: 1,
            search: false, //显示搜索框
            contentType: "application/x-www-form-urlencoded",
            queryParams: null,
            columns: [
                {
                    checkbox:"true",
                    field: 'ID',
                    align: 'center',
                    valign: 'middle'
                },
                {
                    title: "商品编号",
                    field: 'name',
                    align: 'center',
                    valign: 'middle'
                },
                {
                    title: '品名',
                    field: 'gender',
                    align: 'center',
                    valign: 'middle'
                },
                {
                    title: '生产厂家',
                    field: 'graduate',
                    align: 'center'
                },
                {
                    title: '规格',
                    field: 'education',
                    align: 'education',
                    valign: 'middle'
                },
                {
                    title: '型号',
                    field: 'major',
                    align: 'center',
                    valign: 'middle'
                },
                {
                    title: '单位',
                    field: 'postId',
                    align: 'center'
                   
                },
                 {
                    title: '产品注册证号',
                    field: 'workExperience',
                    align: 'center',
                   
                },
                 {
                    title: '实际进价',
                    field: 'registraTime',
                    align: 'center',
                   
                },
                {
                    title: '数量',
                    field: 'resumeState',
                    align: 'center',
                    
                },
            	 {
                    title: '总金额',
                    field: 'resumeState',
                    align: 'center',
                    
                },
                {
                    title: 's',
                    field: 'id',
                    align: 'center',
                    formatter: function (value, row) {
                        var e = '<a  href="#" onclick="openlayer(\'' + row.id + '\')">编辑</a> ';
                        var c = '<a  href="#" onclick="openlayer(\'' + row.id + '\')">删除</a> ';
                        return e+c;
                    }
                }
            ]
        });
    });